package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TCurrency;

/**
 * 币种列Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-17
 */
public interface TCurrencyMapper 
{
    /**
     * 查询币种列
     * 
     * @param cid 币种列主键
     * @return 币种列
     */
    public TCurrency selectTCurrencyByCid(Long cid);

    /**
     * 查询币种列列表
     * 
     * @param tCurrency 币种列
     * @return 币种列集合
     */
    public List<TCurrency> selectTCurrencyList(TCurrency tCurrency);

    /**
     * 新增币种列
     * 
     * @param tCurrency 币种列
     * @return 结果
     */
    public int insertTCurrency(TCurrency tCurrency);

    /**
     * 修改币种列
     * 
     * @param tCurrency 币种列
     * @return 结果
     */
    public int updateTCurrency(TCurrency tCurrency);

    /**
     * 删除币种列
     * 
     * @param cid 币种列主键
     * @return 结果
     */
    public int deleteTCurrencyByCid(Long cid);

    /**
     * 批量删除币种列
     * 
     * @param cids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTCurrencyByCids(Long[] cids);
}
